﻿package mortal.game.net.command.lookPlayerInfo
{
    import Framework.MQ.*;
    import Message.Client.*;
    import Message.Game.*;
    import mortal.game.mvc.*;
    import mortal.game.net.broadCast.*;
    import mortal.mvc.core.*;

    public class LookPlayerInfoReplyCommand extends BroadCastCall
    {

        public function LookPlayerInfoReplyCommand(param1:Object)
        {
            super(param1);
            return;
        }// end function

        override public function call(param1:MessageBlock) : void
        {
            var _loc_2:* = param1.messageBase as SLookPlayerReply;
            if (_loc_2.updateCode == ELookRoleInfoType._ECommonRoleInfo)
            {
                NetDispatcher.dispatchCmd(ServerCommand.LookPlayerModuleOpen, _loc_2.playerInfo);
            }
            if (_loc_2.updateCode == ELookRoleInfoType._ERankRoleInfo)
            {
                NetDispatcher.dispatchCmd(ServerCommand.RankingLookRoleInfo, _loc_2.playerInfo);
            }
            return;
        }// end function

    }
}
